/*
 * Get the object in the form
 * @param n The contronl name.
 * @return the Object in the form 
 */
function get(n){
	return document.all(n);
}
/*
 * Get the object in the form
 * @param f The form name.
 * @param n The contronl name.
 * @return the Object in the form 
 */
function get2(f,n){
	return document.all(f+":"+n);
}
/*
 * Get the object in the form
 * @param f The form name.
  * @param f The table name.
 * @param n The contronl name.
 * @return the Object in the form 
 */
function get3(f,t,n){
	return document.all(f+":"+t+":"+n);
}

/*
 * Get the objects in the form
 * @param f The form name.
 * @param n The contronl name.
 * @return the Object in the form 
 */
function gets2(f,n){
	var r = new Array();
	var tmp = '';
	var i = 0;
	var j = 0;

	for(i=0;i < f.all.length;++i){
		var o = f.elements[i];
		if(o!=null && o.name!=null){
			tmp = o.name;
			if (tmp.substring(tmp.length - n.length,tmp.length)==n){
				r[j] = o;
				j++;
			}
		}
	}
	return r;
}

